package com.example.yingjiguanli_demo.utils;

public class ConstantUtils {

    public static final String USER_SESSION_NAME = "SESSIONID";

    public static final int STATUS_DISABLED = 1;

    //验证码长度
    public static final int CAPTCHA_LENGTH = 6;

    //邮件发送号
    public static final String currentEmail = "571469694@qq.com";

    //验证码有效期（分钟）
    public static final int CAPTCHA_EXPIRATION_TIME = 2;


    // Redis key 前缀
    public static final String POST_KEY_PREFIX = "post:";

    // 上传文件保存路径
    public static final String UPLOAD_DIR = "uploads_pc/mentor_photos";

    // 文件路径前缀
    public static final String FILE_SERVER = "/uploads_pc/mentor_photos/";

    // 导师申请状态
    public static final String TEACHER_APPLY_WAIT= "pending";
    public static final String APPLY_STATUS_PASS = "accepted";
    public static final String APPLY_STATUS_REJECT = "rejected";



}
